package com.sxz.sbs.module.client.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by hp on 2018/1/9.
 * 获取客户列表Bean
 */

public class ClientListBean {


    /**
     * lastPage : true
     * pageSize : 10
     * pageNumber : 1
     * list : [{"trackTime":"","val_StarLevel":3,"tempcolumn":0,"txt_UserName":"弓杰","addr_Address":"二狗","callTIme":"2018-01-10 11:17:49","txt_Phone":"13603878003","Build_Id":1,"Id":1,"trackContent":"","val_Staus":1,"callCount":0,"txt_Sex":"男","temprownumber":1},{"trackTime":"","val_StarLevel":1,"tempcolumn":0,"txt_UserName":"二狗儿","addr_Address":"二狗儿","callTIme":"","txt_Phone":"13603878003","Build_Id":2,"Id":2,"trackContent":"","val_Staus":1,"callCount":0,"txt_Sex":"男","temprownumber":2},{"trackTime":"","val_StarLevel":5,"tempcolumn":0,"txt_UserName":"小狗","addr_Address":"小狗","callTIme":"","txt_Phone":"13603878004","Build_Id":2,"Id":3,"trackContent":"","val_Staus":1,"callCount":0,"txt_Sex":"女士","temprownumber":3}]
     * firstPage : true
     * totalRow : 3
     * totalPage : 1
     */

    private boolean lastPage;
    private int pageSize;
    private int pageNumber;
    private boolean firstPage;
    private int totalRow;
    private int totalPage;
    private List<ListBean> list;

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Parcelable {

        /**
         * trackTime : 2018-01-13 10:17:06
         * valStarLevel : 2
         * val_Type : 1
         * callTime : 2018-01-10 11:17:49
         * txt_UserName : 弓杰
         * addr_Address : 弓杰
         * txt_Phone : 13603878003
         * trackContent : 哎呀喂这个人有点意思
         * tempcolumn : 0
         * Id : 1
         * val_Staus : 5
         * callCount : 3
         * temprownumber : 1
         * txt_Sex : 男
         */

        private String trackTime;
        private int val_StarLevel;
        private int val_Type;
        private String callTime;
        private String txt_UserName;
        private String addr_Address;
        private String txt_Phone;
        private String trackContent;
        private int tempcolumn;
        private int Id;
        private int val_Staus;
        private int callCount;
        private int temprownumber;
        private String txt_Sex;
        private String displayStatus;

        public String getDisplayStatus() {
            return displayStatus;
        }

        public String getTrackTime() {
            return trackTime;
        }

        public void setTrackTime(String trackTime) {
            this.trackTime = trackTime;
        }

        public int getValStartLevel() {
            return val_StarLevel;
        }

        public void setValStartLevel(int valStartLevel) {
            this.val_StarLevel = valStartLevel;
        }

        public int getVal_Type() {
            return val_Type;
        }

        public void setVal_Type(int val_Type) {
            this.val_Type = val_Type;
        }

        public String getCallTime() {
            return callTime;
        }

        public void setCallTime(String callTime) {
            this.callTime = callTime;
        }

        public String getTxt_UserName() {
            return txt_UserName;
        }

        public void setTxt_UserName(String txt_UserName) {
            this.txt_UserName = txt_UserName;
        }

        public String getAddr_Address() {
            return addr_Address;
        }

        public void setAddr_Address(String addr_Address) {
            this.addr_Address = addr_Address;
        }

        public String getTxt_Phone() {
            return txt_Phone;
        }

        public void setTxt_Phone(String txt_Phone) {
            this.txt_Phone = txt_Phone;
        }

        public String getTrackContent() {
            return trackContent;
        }

        public void setTrackContent(String trackContent) {
            this.trackContent = trackContent;
        }

        public int getTempcolumn() {
            return tempcolumn;
        }

        public void setTempcolumn(int tempcolumn) {
            this.tempcolumn = tempcolumn;
        }

        public int getId() {
            return Id;
        }

        public void setId(int Id) {
            this.Id = Id;
        }

        public int getVal_Staus() {
            return val_Staus;
        }

        public void setVal_Staus(int val_Staus) {
            this.val_Staus = val_Staus;
        }

        public int getCallCount() {
            return callCount;
        }

        public void setCallCount(int callCount) {
            this.callCount = callCount;
        }

        public int getTemprownumber() {
            return temprownumber;
        }

        public void setTemprownumber(int temprownumber) {
            this.temprownumber = temprownumber;
        }

        public String getTxt_Sex() {
            return txt_Sex;
        }

        public void setTxt_Sex(String txt_Sex) {
            this.txt_Sex = txt_Sex;
        }

        public ListBean() {
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.trackTime);
            dest.writeInt(this.val_StarLevel);
            dest.writeInt(this.val_Type);
            dest.writeString(this.callTime);
            dest.writeString(this.txt_UserName);
            dest.writeString(this.addr_Address);
            dest.writeString(this.txt_Phone);
            dest.writeString(this.trackContent);
            dest.writeInt(this.tempcolumn);
            dest.writeInt(this.Id);
            dest.writeInt(this.val_Staus);
            dest.writeInt(this.callCount);
            dest.writeInt(this.temprownumber);
            dest.writeString(this.txt_Sex);
            dest.writeString(this.displayStatus);
        }

        protected ListBean(Parcel in) {
            this.trackTime = in.readString();
            this.val_StarLevel = in.readInt();
            this.val_Type = in.readInt();
            this.callTime = in.readString();
            this.txt_UserName = in.readString();
            this.addr_Address = in.readString();
            this.txt_Phone = in.readString();
            this.trackContent = in.readString();
            this.tempcolumn = in.readInt();
            this.Id = in.readInt();
            this.val_Staus = in.readInt();
            this.callCount = in.readInt();
            this.temprownumber = in.readInt();
            this.txt_Sex = in.readString();
            this.displayStatus = in.readString();
        }

        public static final Creator<ListBean> CREATOR = new Creator<ListBean>() {
            @Override
            public ListBean createFromParcel(Parcel source) {
                return new ListBean(source);
            }

            @Override
            public ListBean[] newArray(int size) {
                return new ListBean[size];
            }
        };
    }
}
